<?php $this->_extends('../_layouts/blank_layout'); ?>

<?php $this->_block('contents'); ?>

<div class="tasks">

<?php
// 
# role_id rolename description user_owned group_owned
$user_roles = Helper_MtoM::MaekAasArr($show_box['role_info']->users,'admin::users/view','user_id','user_name');
$user_roles = implode(',', Q::normalize($user_roles));
?>
<h1><?php echo $show_box['title'];?></h1>
<table cellSpacing="0" cellPadding="3" align="center" border="0" width="100%">
    <tr>
        <td align="center" class='bgTitle'>ID</td>              <td align="left" ><?php echo $show_box['role_info']['role_id'];?></td></tr>
        <td align="center" class='bgTitle'>角色名称</td>         <td align="left" ><?php echo $show_box['role_info']['rolename'];?></td></tr>
        <td align="center" class='bgTitle'>角色介绍</td>         <td align="left" ><?php echo $show_box['role_info']['description'];?></td></tr>
        <td align="center" class='bgTitle'>拥有用户数</td>       <td align="left" ><?php echo $show_box['role_info']['user_owned'];?></td></tr>
        <td align="center" class='bgTitle'>拥有用户组数量</td>   <td align="left" ><?php echo $show_box['role_info']['group_owned'];?></td></tr>
        <td align="center" class='bgTitle'>用户列表</td>         <td align="left" ><?php echo $user_roles;?></td></tr>
        <td align="center" class='bgTitle'>用户组列表</td>       <td align="left" ><?php echo $show_box['role_info']['role_id'];?></td></tr>
        <td align="center" class='bgTitle'>操作</td>            <td align="left" ><?php echo $show_box['role_info']['role_id'];?></td></tr>
    </tr>
</table>

</div>


<?php $this->_endblock(); ?>



